package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 检查考评统计报表
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_evaluation_statistics")
public class EvaluationStatistics extends BaseEntity {
        /**
     * 名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 描述
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String desc ;

    /**
     * 开始时间
     */
    @DbTableField(columnName = "c_begin_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime beginDate ;

    /**
     * 结束时间
     */
    @DbTableField(columnName = "c_end_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime endDate ;

    /**
     * 制表时间
     */
    @DbTableField(columnName = "c_make_date", dbType = DbTypeEnum.DATE)
    public LocalDate makeDate ;

    /**
     * 制表人员id
     */
    @DbTableField(columnName = "c_make_staff_id", dbType = DbTypeEnum.INTEGER)
    public Integer makeStaffId ;

    /**
     * 制表人员
     */
    @DbTableField(columnName = "c_make_staff", dbType = DbTypeEnum.VARCHAR)
    public String makeStaff ;

    /**
     * 制表部门id
     */
    @DbTableField(columnName = "c_make_dept_id", dbType = DbTypeEnum.VARCHAR)
    public String makeDeptId ;


}
